ACLOCAL_AMFLAGS = -I m4
MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess config.h.in \
		       config.sub configure depcomp install-sh ltmain.sh \
		       missing config.rpath mkinstalldirs 

SUBDIRS =  src data etc

EDJE_FLAGS = -v \
-id $(top_srcdir)/images

applicationsdir = $(pkgdatadir)/../applications/
applications_DATA = mokoko.desktop

filesdir = $(pkgdatadir)
files_DATA = mokoko.edj

files_BIN = src/mokoko

	     
EXTRA_DIST = $(files_BIN) \
	     $(files_DATA) \
	     $(applications_DATA) \
	     mokoko.edc 

%.edj: %.edc
	$(EDJE_CC) $(EDJE_FLAGS) $< $@
	
clean-local:
	rm -rf *.edj *~
	
uninstall-hook:
	rm -rf $(pkgdatadir)
